package com.epam.diplom.managedbean;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import com.epam.diplom.bean.view.ClientInList;
import com.epam.diplom.service.ClientService;

@Controller
public class ManagerController {
	private ClientService clientService;
	
	public List<ClientInList> getClients() {
		return clientService.getClients();
	}
	
	@Autowired
	public void setClientService(ClientService clientService) {
		this.clientService = clientService;
	}
}
